package models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "articleComment")
public class ArticleComment extends BasicModel{
	public static int VISITOR = 0;//游客评论
	
	public static int USER = 1;//用户评论
	
	@Column(name = "comment")
	public String comment;
	
	@Column(name = "articleId")
	public String articleId;
	
	@Column(name = "commentId")
	public String commentId;
	
	@Column(name = "type",columnDefinition = "int default 0")
	public int type;
	
}
